package com.shou.domain.xxx.service.Impl;

import com.shou.domain.xxx.adapter.IRedisServiceAdapter;
import com.shou.domain.xxx.service.IRedisTest;
import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;

@Service("redisTest")
public class RedisTest implements IRedisTest {
    @Resource
    private IRedisServiceAdapter redisServiceAdapter;

    @Override
    public void test(String key, String value) {
        redisServiceAdapter.setValue(key, value);
    }
}
